package com.example.mapper;

import com.example.entity.AddressBook;

import java.util.List;

public interface AddressBookMapper {

    void insert(AddressBook addressBook);

    void deleteById(Integer id);

    void deleteByUserId(Integer id);

    void updateById(AddressBook addressBook);

    List<AddressBook> selectAll();

    AddressBook selectById(Integer id);
}
